using System.Collections.Generic;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SouthernLand.Common.BOL.NhaDat
{
    [ParseChildren(true)]
    public class ddlTinhThanh : DropDownList
    {
        public ddlTinhThanh()
        {
            List<TinhThanh> obj = TinhThanh.GetAllTinhThanh();
            DataSource = obj;
            DataValueField = "TinhThanhID";
            DataTextField = "TenTinhThanh";
            DataBind();
            Items.Insert(0, new ListItem(ResourceManager.GetString("PleaseSelect"), ""));
        }
    }
}